event sampling method